-- GENERATED SPELL FOR [Diseased Black Bear] --


function spell0_1815(pUnit, Event) --@Infected Wound,n/a--
pUnit:FullCastSpellOnTarget(3427,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_1815', 30309, 1)
end

function Sorts_1815(pUnit, Event)
local choix_sorts_1815 = math.random(0, 0)
if choix_sorts_1815 == 0 then
pUnit:RegisterEvent('spell0_1815', 1, 1)
end
end

function mob1815_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_1815', math.random(1500, 3000), 1)
end

function mob1815_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1815_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob1815_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(1815, 1, 'mob1815_Action')
RegisterUnitEvent(1815, 2, 'mob1815_Leave')
RegisterUnitEvent(1815, 3, 'mob1815_Kill')
RegisterUnitEvent(1815, 4, 'mob1815_Die')
